﻿using System.Collections.Generic;

namespace ML.Entity
{
    /// <summary>
    /// 查询订单实体信息
    /// </summary>
    public class OrderResponse : OrderEntity
    {
        /// <summary>
        /// 商户名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 商户图片
        /// </summary>
        public string Logo { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public string NickName { get; set; }

        /// <summary>
        /// 配送费
        /// </summary>
        public decimal DistributionFee { get; set; }

        /// <summary>
        /// 收货人地址Id
        /// </summary>
        public string AddressId { get; set; }

        /// <summary>
        /// 收货人名称
        /// </summary>
        public string ContactName { get; set; }

        /// <summary>
        /// 收货人电话
        /// </summary>
        public string Contact { get; set; }

        /// <summary>
        /// 收货人地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 订单状态实体
        /// </summary>
        public string StateName { get; set; }

        /// <summary>
        /// 预计送货时间
        /// </summary>
        public string AnticipationTime { get; set; }

        /// <summary>
        /// 订单详情信息
        /// </summary>
        public IEnumerable<OrderDetailResponse> orderDetail { get; set; }
    }
}